package com.eisula.sc.database;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Proxy;

@Entity
@Table(name = "t_credito")
@Proxy(lazy = false)
public class Credito {

	private int id;
	private String usoCredito;
	private String institucion;

	// --------------------------------------------------------------------------------

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	// --------------------------------------------------------------------------------

	public String getUsoCredito() {
		return usoCredito;
	}

	public void setUsoCredito(String usoCredito) {
		this.usoCredito = usoCredito;
	}

	// --------------------------------------------------------------------------------

	public String getInstitucion() {
		return institucion;
	}

	public void setInstitucion(String institucion) {
		this.institucion = institucion;
	}

	// --------------------------------------------------------------------------------

}
